#include <QCoreApplication>
#include <QDir>
#include <qd.h>

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    foreach (auto entryinfo, QDir(a.applicationDirPath()).entryInfoList()) {
        qd << entryinfo.filePath();
    }

    return 0;
}
